-Using JavaScript Tags in html, how to make a function that has error checking inside index.html and inside the form tags to where the user inputs a number and the function calculates the factorial of that number and then it outputs the answers on a separate webpage using window.document.write and has the ability to go back to the html page

-Create a for loop in Java script using script tags that when the user press add numbers, it asks the user to input numbers while calculating the sum, average, high and low of the numbers. When the user presses enter (CRLF) the program outputs in information of the sum average high and low of the numbers entered on to another webpage.
